Skip to content

Conversation

@xterao
Copy link
Collaborator

@xterao xterao commented Apr 11, 2025

When a function defined outside the task is called from doLast, an error occurs when writing to the GIT_ENV file.

Task :replaceDraftVersion of type org.gradle.api.DefaultTask: cannot serialize Gradle script object references as these are not supported with the configuration cache

Modify the code so that all processing is completed within doLast.

@xterao xterao added the skip-changelog Fixes not included in the update log label Apr 11, 2025
@github-actions github-actions bot added the fix Bug fixes label Apr 11, 2025
@xterao xterao linked an issue Apr 11, 2025 that may be closed by this pull request
@xterao xterao merged commit 5b8c1b1 into main Apr 11, 2025
4 of 5 checks passed
@xterao xterao deleted the fix/update-version-draft-release branch April 11, 2025 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Bug fixes skip-changelog Fixes not included in the update log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create a rough draft of the next development version after release

2 participants